#include "nameenPip.hpp"

// 使用者
int main()
{
    NamePipe fifo(comm_path, User);
    if (fifo.OpenForWrite())
    {
        while (true)
        {
            std::cout << "Please Enter> ";
            std::string message;
            std::getline(std::cin, message);
            fifo.WriteNamePipe(message);
        }
    }

    return 0;
}